AmeliaBooking\Infrastructure\Repository\Booking\Appointment\AppointmentRepository D

Total Complexity 139
Dependencies 12
Dependents 0
Total lines 1,590
Lines of code 1,126
Logical lines of code 446
Comment lines 132
Methods 17
Properties 11

Methods 17

Method Rating Maintainability Complexity Lines of code
getFiltered()
D
18
39 300
getPeriodAppointments()
B
32 21 104
getPeriodAppointmentsCount()
B
36 18 78
getFutureAppointments()
A
37 9 86
getFutureAppointmentsServicesIds()
A
49 8 28
getFutureAppointmentsProvidersIds()
A
49 8 28
getByPaymentId()
S
40 3 82
add()
S
44 5 51
getByBookingId()
S
40 3 80
getById()
S
41 2 83
getCurrentAppointments()
S
48 5 33
getLastBookedEmployee()
S
49 5 29
getRelevantAppointmentsCount()
S
45 4 41
update()
S
45 3 44
updateStatusById()
S
55 3 21
getAppointmentsWithoutBookings()
S
54 2 24
__construct()
S
59 1 14